package com.codef.sharp.rbac.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.codef.sharp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色和资源关联表实体
 * 
 * @author zhanrf
 * @date 2022-02-12 20:06:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sharp_role_resource")
public class RoleResourceEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId
	private Long id;
	/**
	 * 角色ID
	 */
	private Long roleId;
	/**
	 * 资源ID
	 */
	private Long resourceId;

}
